<template>
    <div class="card">
        <div class="card-body">
            <div v-for="post in post_list.posts" :key="post.id">
                <div class="card single_post">
                    <div class="card-body">
                        {{ post.content }}
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'UserProfilePosts',
    props: {
        post_list: {
            type: Object,
            required: true,
        }
    }
}
</script>

<style scoped>
.single_post {
    margin-bottom: 20px;
}
</style>